/*****************************************************************************
 * HUSONG PROPRIETARY INFORMATION
 * <p/>
 * The information contained herein is proprietary to HUSONG
 * and shall not be reproduced or disclosed in whole or in part
 * or used for any design or manufacture
 * without direct written authorization from HUSONG.
 * <p/>
 * Copyright (c) 2015 by HUSONG.  All rights reserved.
 *****************************************************************************/
package com.husong.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

import com.husong.entity.base.BaseEntity;

/**
 * 用户实体类
 *
 * @author maxmin
 */
public class User extends BaseEntity {

	private static final long serialVersionUID = 1L;
	/**
     * user id 使用uuid生成的字符串
     */
    private String userId;
    private String username;
    private Timestamp birthday=new Timestamp(System.currentTimeMillis());
    private Integer type=0;
    private Integer status=0;
    /**
     * 是否删除 0、未删除 1、已删除
     */
    private Integer isdelete=0;
    private String header;
    private String telephone;
    private Integer gender=0;
    /**
     * 推送需要用到的id
     */
    private String notifyid;
    private Integer level=0;
    private Long point=0L;

    /**
     * 是否测试 0、未测试 1、已测试
     */
    private Integer istested=0;
    /**
     * 是否培训 0、未培训 1、已培训
     */
    private Integer istrained=0;
    /**
     * 是否认证 0、未认证 1、已提交认证，审核中，2，审核通过，3、审核拒绝
     */
    private Integer isauthen=0;
    private String cityName;
    private String tag;
    
    private String key;
    private String primaryKey;
    
    private String title;
    private BigDecimal stars;
	/**
     * broker相关
     */
    /**
     * 身份证正面照
     */
    private String positiveIdPath;
    /**
     * 身份证反面照
     */
    private String negativeIdPath;
    /**
     * 手持身份证照
     */
    private String handIdPath;
    /**
     * 认证手机号
     */
    private String authenTelephone;
    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 身份证号
     */
    private String idNum;

    /**
     * 经纪人状态　
     */
    private Integer brokerStatus=0;
    /**
     * 经纪人身份状态　0:未开通  1：已开通
     */
    private Integer isbroker=0;

	/**
     * 抢单宣言
     */
    private String declaration;
    
    private Integer isSetPayPassword;
    
    
    
    
    public Integer getIsSetPayPassword() {
		return isSetPayPassword;
	}

	public void setIsSetPayPassword(Integer isSetPayPassword) {
		this.isSetPayPassword = isSetPayPassword;
	}

	public Timestamp getBirthday() {
		return birthday;
	}

	public void setBirthday(Timestamp birthday) {
		this.birthday = birthday;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

    public Integer getIsbroker() {
		return isbroker;
	}

	public void setIsbroker(Integer isbroker) {
		this.isbroker = isbroker;
	}
    
	public Integer getIsauthen() {
		return isauthen;
	}

	public void setIsauthen(Integer isauthen) {
		this.isauthen = isauthen;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(Integer isdelete) {
		this.isdelete = isdelete;
	}

	public String getHeader() {
		return header;
	}

	public void setHeader(String header) {
		this.header = header;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getNotifyid() {
		return notifyid;
	}

	public void setNotifyid(String notifyid) {
		this.notifyid = notifyid;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Long getPoint() {
		return point;
	}

	public void setPoint(Long point) {
		this.point = point;
	}

	public Integer getIstested() {
		return istested;
	}

	public void setIstested(Integer istested) {
		this.istested = istested;
	}

	public Integer getIstrained() {
		return istrained;
	}

	public void setIstrained(Integer istrained) {
		this.istrained = istrained;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getPositiveIdPath() {
		return positiveIdPath;
	}

	public void setPositiveIdPath(String positiveIdPath) {
		this.positiveIdPath = positiveIdPath;
	}

	public String getNegativeIdPath() {
		return negativeIdPath;
	}

	public void setNegativeIdPath(String negativeIdPath) {
		this.negativeIdPath = negativeIdPath;
	}

	public String getHandIdPath() {
		return handIdPath;
	}

	public void setHandIdPath(String handIdPath) {
		this.handIdPath = handIdPath;
	}

	public String getAuthenTelephone() {
		return authenTelephone;
	}

	public void setAuthenTelephone(String authenTelephone) {
		this.authenTelephone = authenTelephone;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getIdNum() {
		return idNum;
	}

	public void setIdNum(String idNum) {
		this.idNum = idNum;
	}

	public Integer getBrokerStatus() {
		return brokerStatus;
	}

	public void setBrokerStatus(Integer brokerStatus) {
		this.brokerStatus = brokerStatus;
	}

	public String getDeclaration() {
		return declaration;
	}

	public void setDeclaration(String declaration) {
		this.declaration = declaration;
	}

	
	 public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public BigDecimal getStars() {
			return stars;
		}

		public void setStars(BigDecimal stars) {
			this.stars = stars;
		}
    
}
